#pragma once
#ifdef _WIN32

#define _CRT_SECURE_NO_WARNINGS
#define _WINSOCK_DEPRECATED_NO_WARNINGS
#define WIN32_LEAN_AND_MEAN
#define FD_SETSIZE  1024//65535
#include <WinSock2.h>
#include <ws2tcpip.h>
#include <mswsock.h>
#pragma comment(lib, "Ws2_32.lib")

#else

#include <unistd.h>
#include <arpa/inet.h>
#include <string.h>

#endif